/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(../assets/barlow-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  height: 100%;
}

body {
  background-color: #100606;
  height: inherit;
  padding: 8px;
  margin: unset;
  box-sizing: border-box;
  font-family: 'Barlow', sans-serif;
  color: #ff6060;
  overflow: hidden;
}

#root {
  height: inherit;
}

.app-border {
  border-width: 1px;
  border-style: solid;
  border-image-source: url(../assets/app-border.svg);
  /* The Y-coord of the top indent in the SVG is 68.5 */
  border-image-slice: 69;
  border-image-width: auto;
  box-sizing: border-box;
}

button {
  font-family: inherit;
  background-color: unset;
  cursor: pointer;
  font-size: 1.2em;
  color: #5ef5ff;
  width: 160px;
  height: 48px;
  flex-shrink: 0;
  border-image-source: url(../assets/button-border.svg);
  /* Half of the height of the button */
  border-image-slice: 24;
  border-image-width: auto;
}

@media (hover: hover) and (pointer: fine) {
  button:hover {
    border-image-source: url(../assets/button-border-hover.svg);
  }
}

button:active {
  border-image-source: url(../assets/button-border-active.svg);
}

button:focus {
  outline: unset;
}

a:visited,
a:link {
  color: #ff6060;
}

input {
  background-color: #cfed5740;
  border: 1px solid #cfed5780;
  color: #cfed57;
  height: 16px;
  font-size: 1em;
}

input:focus {
  outline: unset;
  border: 1px solid #cfed57;
}

.dropzone {
  border: 1px dashed #ff606060;
  background-color: #ff606010;
}

.dropzone:hover {
  background-color: #ff606020;
}

progress {
  border: 1px solid #ff6060;
  padding: 4px;
}

progress::-webkit-progress-bar {
  background-color: unset;
}

progress::-webkit-progress-value {
  background-color: #ff6060;
}
